package com.example.demo.mapper;

import com.example.demo.domain.Leave;
import com.example.demo.domain.Vo.LeaveVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LeaveMapper {
    public List<LeaveVo> selectLeave(Leave leave);

    public void  insertLeave(Leave leave);

    void updateLeaveById(Leave leave);

    void delLeaveById(long leaveId);
}
